GUI Help > Menus > createSubMenu

createSubMenu
handle menu=createSubMenu(handle parentMenu)

Description:
Creates a new menu and attaches it to an existing menu. Use createMenu to create the main menu for your program, and then use createSubMenu to create the dropdown menus when you select the different items in the main menus.

Return Value:
Handle to the new menu

Parameters:
parentMenu Handle of the parent menu.
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)